home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15406 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  38 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!smryan
  3. From: smryan@netcom.com (@#$%!?!)
  4. Subject: Re: PUBLIC / PRIVATE
  5. Message-ID: <smryanDq1LvD.MH7@netcom.com>
  6. Organization: The Programmer formerly known as S M Ryan
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. References: <4l3k8d$hkp@mulga.cs.mu.OZ.AU>
  9. Date: Thu, 18 Apr 1996 05:28:25 GMT
  10. Sender: smryan@netcom12.netcom.com
  11.  
  12. : 2nd question:
  13. :    PRIVATE void HTFWriter_write ARGS3(HTSteam, *, me, CONST char*,
  14. :                     s, int, l) { fwrite(s, 1, l, me->fp) }
  15.  
  16. :    What is the ARGS3 ?
  17.  
  18. You can look for something like
  19.  
  20.     #if wantprototypes
  21.  
  22.         #define ARGS1(A,a)        (A a)
  23.         #define ARGS2(A,a,B,b)        (A a,B b)
  24.         #define ARGS3(A,a,B,b,C,c)    (A a,B b,C c)
  25.  
  26.     #else
  27.  
  28.         #define ARGS1(A,a)        (a) A a;
  29.         #define ARGS2(A,a,B,b)        (a,b) A a; B b;
  30.         #define ARGS3(A,a,B,b,C,c)    (a,b,c) A a; B b; C c;
  31.  
  32.     #endif
  33. -- 
  34. The Queen who loves, the Queen of life,    | smryan@netcom.com  PO Box 1563
  35. the Queen who straits, the Queen of strife;|          Cupertino, California
  36. with gasp of death or gift of breath       | (xxx)xxx-xxxx            95015
  37. she brings the choice of birth or knife.   |         I don't use no smileys
  38.